<html>
    <head>
        <meta charset="utf-8">

        <link href="__CSS__bootstrap.min.css" type="text/css" rel="stylesheet">
        <link href="__CSS__index.css" type="text/css" rel="stylesheet">
        <script src="__JS__jquery-3.1.1.min.js"></script>
        <script src="__JS__bootstrap.min.js"></script>
    </head>
    <body>
        <!--导航栏start-->
        <!--<include file="Public:header" />-->
        {:W('Menu/header')}
        <!--导航栏end-->

        <!--菜单栏start-->
        <!--<include file="Public:left" />-->
        {:W('Menu/left')}
         <!--菜单栏end-->


        <ol class="breadcrumb col-sm-9 col-md-10">
            <li><a href="index">用户管理</a></li>
            <li class="active">管理员</li>
        </ol>

        <div class="panel panel-default col-sm-9 col-md-10">
            <div class="panel-body">
                <!--列表-->
                <table class="table table-striped col-sm-12 col-md-12">
                    <tr>
                        <td>用户名</td>
                        <td>等级</td>
                        <td>用户降级</td>
                        <td>用户删除</td>
                    </tr>
                    <volist name="root" id="vo">
                        <tr>
                            <td>{$vo.name}</td>
                            <td>{$vo.level}</td>
                            <td>
                                <a onclick= "if(confirm( '是否确定！ ')==false)return   false; " href="__ADMIN__User/userdown/id/{$vo.id}" style="color:aliceblue;">
                                    <button type="button" class="btn btn-danger" >降级</button>
                                </a>
                            </td>
                            <td>
                                <a onclick= "if(confirm( '是否确定！ ')==false)return   false; " href="__ADMIN__User/del/id/{$vo.id}" style="color:aliceblue;">
                                    <button type="button" class="btn btn-danger" >删除</button>
                                </a>
                            </td>
                        </tr>
                    </volist>
                </table>
            </div>
        </div>
    </body>
</html>